<!DOCTYPE html>
<html>
<head>
	<title>super3d login</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  	<link rel="stylesheet" type="text/css" href="/rrstatic/stylesheets/screen.css?tag=<?php echo $tag?>"/>
  	<link rel="stylesheet" type="text/css" href="/rrstatic/styles/jquery/jquery-ui-1.8.18.custom.css?tag=<?php echo $tag?>">
  	<link rel="stylesheet" type="text/css" href="/rrstatic/styles/jquery/jquery.selectbox.css?tag=<?php echo $tag?>">
  
	
</head>
<body class="sct-login sup_body">
<div class="sup_body">
<div class=" clearfix sup_body">
<script type="text/javascript">
  function toggleLabel(el, forceHide) {
    var input = $(el);
    var defaultValue = input.attr('title');
    if (!forceHide && (input.val().length == 0 || (input.val() == defaultValue))) {
      input.prev('span').show();
    } else {
      input.prev('span').hide();
    }
  };

  $(document).ready(function() {
    $('input').keydown(function(e) {
      toggleLabel(e.target, e.keyCode != 8 && e.keyCode != 46);
    });
    $('input').keyup(function(e) {
      toggleLabel(e.target, e.keyCode != 8 && e.keyCode != 46);
    });
    $('input').change(function(e) {
      toggleLabel(e.target);
    });
    $('input').live('paste', function(e) {
      toggleLabel(e.target);
    });

    $('input').focus(function(e) {
      toggleLabel(e.target);
      $(this).prev('span').css('color', '#a4d5f1');
    });


    $('input').blur(function(e) {
      toggleLabel(e.target);
      $(this).prev('span').css('color', '#bbb');
    });

    setTimeout('initialize()', 50);
  });
  function initialize() {
    $('input').each(function(i, el) {
      toggleLabel(el);
    });
  }
</script>

<div style="width: 100%; text-align: center;" class="login-outside">
  <div class="sup_login-container">
    <a class="sup-logo" href="/"></a>
    <div class="sup-outercopy">
      <div class="loginmessage">
        <h1>登录</h1>
        <p>还没有帐号? <a href="<?php echo $ser?>/register">现在加入我们!</a></p>
      </div>
    </div>
    <div class="clear"></div>
    <div class="sup_formbox clearfix">
      <form id="sup_login" class="sup_login" action="<?php echo $ser?>/user" method="post" name="main_login" _lpchecked="1">
			<input type="hidden" name="method" value="login"/>
        	<input type="hidden" name="targetUrl" value="" tabindex="0">
	        <div class="login-right sup_register-middle">
	          <ul class="form login">
	            <li>
	              <label class="sup-input">
	                <input placeholder="用户名" id="login_username" type="text" name="username" tabindex="1">
	              </label>
	            </li>
	            <li>
	              <label class="sup-input">
	                <input placeholder="密码" id="login_password" type="password" name="password" tabindex="2">
	              </label>
	            </li>
	            <li>
	              <label class="checkbox-wrap" for="sup_rememberme">Remember me
	                <input id="sup_rememberme" type="checkbox" value="1" name="remember" tabindex="3">
	              </label>
	            </li>
	            <li class="sup_submit">
	              <input type="submit" class="login-lonely-button" value="Log In" tabindex="4">
	            </li>
	          </ul>
	        </div>
      </form>
    </div>
    <div class="sup-outercopy">
      <div class="left"><p><a href="<?php echo $ser?>">Cancel</a></p></div>
      <div class="right"><p><a href="<?php echo $ser?>/forgot_login">I forgot my username or password</a></p></div>
    </div>
  </div>
</div>  </div>
</div><!-- body end -->
</body>
</html>